package org.lh.ibernate.core;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

public interface IResultSetHandler {

    //将单个结果集转换为相应object对象
    Object handle(ResultSet resultSet) throws SQLException;

    //将多个结果集转换为相应list集合
    List<Object> handleList(ResultSet resultSets)throws SQLException;
}
